package com.ruoyi.mysystem.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "ad_details")
public class AdDetails implements Serializable {
    private static final long serialVersionUID = 714128175959273815L;

    private ObjectId id;

    private String textContent;

    private String frontCover;

    private Date expireAt;

}
